<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Paho C++: mqtt::delivery_token Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="pahologo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Paho C++
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">The Paho MQTT C++ Client Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classmqtt_1_1delivery__token.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classmqtt_1_1delivery__token-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">mqtt::delivery_token Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Provides a mechanism to track the delivery progress of a message.  
 <a href="classmqtt_1_1delivery__token.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="delivery__token_8h_source.html">delivery_token.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mqtt::delivery_token:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classmqtt_1_1delivery__token.png" usemap="#mqtt::delivery_token_map" alt=""/>
  <map id="mqtt::delivery_token_map" name="mqtt::delivery_token_map">
<area href="classmqtt_1_1token.html" title="Provides a mechanism for tracking the completion of an asynchronous action. " alt="mqtt::token" shape="rect" coords="0,0,122,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aa70c38dfa04a7f03443971077425dc57"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa70c38dfa04a7f03443971077425dc57"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#aa70c38dfa04a7f03443971077425dc57">ptr_t</a> = std::shared_ptr&lt; <a class="el" href="classmqtt_1_1delivery__token.html">delivery_token</a> &gt;</td></tr>
<tr class="memdesc:aa70c38dfa04a7f03443971077425dc57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smart/shared pointer to an object of this class. <br/></td></tr>
<tr class="separator:aa70c38dfa04a7f03443971077425dc57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8ff987c0475e5dd658b2dc7db9e8046"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8ff987c0475e5dd658b2dc7db9e8046"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#aa8ff987c0475e5dd658b2dc7db9e8046">const_ptr_t</a> = std::shared_ptr&lt; <a class="el" href="classmqtt_1_1delivery__token.html">delivery_token</a> &gt;</td></tr>
<tr class="memdesc:aa8ff987c0475e5dd658b2dc7db9e8046"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smart/shared pointer to a const object of this class. <br/></td></tr>
<tr class="separator:aa8ff987c0475e5dd658b2dc7db9e8046"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af52a9beb73d62709cf153a1b098d0c11"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af52a9beb73d62709cf153a1b098d0c11"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#af52a9beb73d62709cf153a1b098d0c11">weak_ptr_t</a> = std::weak_ptr&lt; <a class="el" href="classmqtt_1_1delivery__token.html">delivery_token</a> &gt;</td></tr>
<tr class="memdesc:af52a9beb73d62709cf153a1b098d0c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Weak pointer to an object of this class. <br/></td></tr>
<tr class="separator:af52a9beb73d62709cf153a1b098d0c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classmqtt_1_1token"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classmqtt_1_1token')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classmqtt_1_1token.html">mqtt::token</a></td></tr>
<tr class="memitem:a352686b3df96dede1b5e296de12bc427 inherit pub_types_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a352686b3df96dede1b5e296de12bc427"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a352686b3df96dede1b5e296de12bc427">ptr_t</a> = std::shared_ptr&lt; <a class="el" href="classmqtt_1_1token.html">token</a> &gt;</td></tr>
<tr class="memdesc:a352686b3df96dede1b5e296de12bc427 inherit pub_types_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smart/shared pointer to an object of this class. <br/></td></tr>
<tr class="separator:a352686b3df96dede1b5e296de12bc427 inherit pub_types_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e42aca59ef0e7f4c44bf3f533e95158 inherit pub_types_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e42aca59ef0e7f4c44bf3f533e95158"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a4e42aca59ef0e7f4c44bf3f533e95158">const_ptr_t</a> = std::shared_ptr&lt; const <a class="el" href="classmqtt_1_1token.html">token</a> &gt;</td></tr>
<tr class="memdesc:a4e42aca59ef0e7f4c44bf3f533e95158 inherit pub_types_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smart/shared pointer to an object of this class. <br/></td></tr>
<tr class="separator:a4e42aca59ef0e7f4c44bf3f533e95158 inherit pub_types_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfccc1dd02644f58b55671c69c85dc19 inherit pub_types_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abfccc1dd02644f58b55671c69c85dc19"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#abfccc1dd02644f58b55671c69c85dc19">weak_ptr_t</a> = std::weak_ptr&lt; <a class="el" href="classmqtt_1_1token.html">token</a> &gt;</td></tr>
<tr class="memdesc:abfccc1dd02644f58b55671c69c85dc19 inherit pub_types_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Weak pointer to an object of this class. <br/></td></tr>
<tr class="separator:abfccc1dd02644f58b55671c69c85dc19 inherit pub_types_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a21e968998bb4adb1c4c609d353b3d47f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#a21e968998bb4adb1c4c609d353b3d47f">delivery_token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli)</td></tr>
<tr class="memdesc:a21e968998bb4adb1c4c609d353b3d47f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty delivery token connected to a particular client.  <a href="#a21e968998bb4adb1c4c609d353b3d47f">More...</a><br/></td></tr>
<tr class="separator:a21e968998bb4adb1c4c609d353b3d47f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafb2b01f848d51933800bb93705b6d1f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#aafb2b01f848d51933800bb93705b6d1f">delivery_token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_message_ptr msg)</td></tr>
<tr class="memdesc:aafb2b01f848d51933800bb93705b6d1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a delivery token connected to a particular client.  <a href="#aafb2b01f848d51933800bb93705b6d1f">More...</a><br/></td></tr>
<tr class="separator:aafb2b01f848d51933800bb93705b6d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb9a5ab831373eba1b8bdaee4ab7737"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#a3cb9a5ab831373eba1b8bdaee4ab7737">delivery_token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_message_ptr msg, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:a3cb9a5ab831373eba1b8bdaee4ab7737"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a delivery token connected to a particular client.  <a href="#a3cb9a5ab831373eba1b8bdaee4ab7737">More...</a><br/></td></tr>
<tr class="separator:a3cb9a5ab831373eba1b8bdaee4ab7737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14e8ce913a6a8cc3b382bcc06a460702"><td class="memItemLeft" align="right" valign="top">virtual const_message_ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#a14e8ce913a6a8cc3b382bcc06a460702">get_message</a> () const </td></tr>
<tr class="memdesc:a14e8ce913a6a8cc3b382bcc06a460702"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the message associated with this token.  <a href="#a14e8ce913a6a8cc3b382bcc06a460702">More...</a><br/></td></tr>
<tr class="separator:a14e8ce913a6a8cc3b382bcc06a460702"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classmqtt_1_1token"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmqtt_1_1token')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classmqtt_1_1token.html">mqtt::token</a></td></tr>
<tr class="memitem:a5d479b98ffa8efdd8e85c0d647f02a15 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a5d479b98ffa8efdd8e85c0d647f02a15">token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli)</td></tr>
<tr class="memdesc:a5d479b98ffa8efdd8e85c0d647f02a15 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a5d479b98ffa8efdd8e85c0d647f02a15">More...</a><br/></td></tr>
<tr class="separator:a5d479b98ffa8efdd8e85c0d647f02a15 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add91ffe20bc43450355d9d5c88f6d450 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#add91ffe20bc43450355d9d5c88f6d450">token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:add91ffe20bc43450355d9d5c88f6d450 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#add91ffe20bc43450355d9d5c88f6d450">More...</a><br/></td></tr>
<tr class="separator:add91ffe20bc43450355d9d5c88f6d450 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ff49d9de3e0dd6d732f538a7b59cc63 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a4ff49d9de3e0dd6d732f538a7b59cc63">token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const string &amp;<a class="el" href="classmqtt_1_1topic.html">topic</a>)</td></tr>
<tr class="memdesc:a4ff49d9de3e0dd6d732f538a7b59cc63 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a4ff49d9de3e0dd6d732f538a7b59cc63">More...</a><br/></td></tr>
<tr class="separator:a4ff49d9de3e0dd6d732f538a7b59cc63 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af94b2cddb786d2f5211060a1cb052342 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#af94b2cddb786d2f5211060a1cb052342">token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const string &amp;<a class="el" href="classmqtt_1_1topic.html">topic</a>, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:af94b2cddb786d2f5211060a1cb052342 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#af94b2cddb786d2f5211060a1cb052342">More...</a><br/></td></tr>
<tr class="separator:af94b2cddb786d2f5211060a1cb052342 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1a7d5b29453a4c8cc7848740ae12fd3 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#ac1a7d5b29453a4c8cc7848740ae12fd3">token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_string_collection_ptr topics)</td></tr>
<tr class="memdesc:ac1a7d5b29453a4c8cc7848740ae12fd3 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#ac1a7d5b29453a4c8cc7848740ae12fd3">More...</a><br/></td></tr>
<tr class="separator:ac1a7d5b29453a4c8cc7848740ae12fd3 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affdbe71191af1120af97bb77a19a7edf inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#affdbe71191af1120af97bb77a19a7edf">token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_string_collection_ptr topics, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:affdbe71191af1120af97bb77a19a7edf inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#affdbe71191af1120af97bb77a19a7edf">More...</a><br/></td></tr>
<tr class="separator:affdbe71191af1120af97bb77a19a7edf inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7462c0eaef923aa48806760ab7b0b745 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a7462c0eaef923aa48806760ab7b0b745">token</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, MQTTAsync_token tok)</td></tr>
<tr class="memdesc:a7462c0eaef923aa48806760ab7b0b745 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a7462c0eaef923aa48806760ab7b0b745">More...</a><br/></td></tr>
<tr class="separator:a7462c0eaef923aa48806760ab7b0b745 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abae53e34b7509096d75cc8385b04ec73 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abae53e34b7509096d75cc8385b04ec73"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#abae53e34b7509096d75cc8385b04ec73">~token</a> ()</td></tr>
<tr class="memdesc:abae53e34b7509096d75cc8385b04ec73 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. <br/></td></tr>
<tr class="separator:abae53e34b7509096d75cc8385b04ec73 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad3c92d4e1be659101e118fc11daf963 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#aad3c92d4e1be659101e118fc11daf963">get_action_callback</a> () const </td></tr>
<tr class="memdesc:aad3c92d4e1be659101e118fc11daf963 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the action listener for this token.  <a href="#aad3c92d4e1be659101e118fc11daf963">More...</a><br/></td></tr>
<tr class="separator:aad3c92d4e1be659101e118fc11daf963 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23933fa6d8db2501c976b79df91d1cb inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#ab23933fa6d8db2501c976b79df91d1cb">get_client</a> () const </td></tr>
<tr class="memdesc:ab23933fa6d8db2501c976b79df91d1cb inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the MQTT client that is responsible for processing the asynchronous action.  <a href="#ab23933fa6d8db2501c976b79df91d1cb">More...</a><br/></td></tr>
<tr class="separator:ab23933fa6d8db2501c976b79df91d1cb inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bab8b8df3d9f04e75e9c57a6c36e93c inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a5bab8b8df3d9f04e75e9c57a6c36e93c">get_message_id</a> () const </td></tr>
<tr class="memdesc:a5bab8b8df3d9f04e75e9c57a6c36e93c inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the ID of the message that is associated with the token.  <a href="#a5bab8b8df3d9f04e75e9c57a6c36e93c">More...</a><br/></td></tr>
<tr class="separator:a5bab8b8df3d9f04e75e9c57a6c36e93c inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e55f1c5ab63552a7c958bfb77369f9a inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual const_string_collection_ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a9e55f1c5ab63552a7c958bfb77369f9a">get_topics</a> () const </td></tr>
<tr class="memdesc:a9e55f1c5ab63552a7c958bfb77369f9a inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the topic string(s) for the action being tracked by this token.  <a href="#a9e55f1c5ab63552a7c958bfb77369f9a">More...</a><br/></td></tr>
<tr class="separator:a9e55f1c5ab63552a7c958bfb77369f9a inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fb4c13db17d0861b17cbe220b0696de inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a8fb4c13db17d0861b17cbe220b0696de">get_user_context</a> () const </td></tr>
<tr class="memdesc:a8fb4c13db17d0861b17cbe220b0696de inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the context associated with an action.  <a href="#a8fb4c13db17d0861b17cbe220b0696de">More...</a><br/></td></tr>
<tr class="separator:a8fb4c13db17d0861b17cbe220b0696de inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57c8c9e1f7c404a023022eba9dbcc0c2 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a57c8c9e1f7c404a023022eba9dbcc0c2">is_complete</a> () const </td></tr>
<tr class="memdesc:a57c8c9e1f7c404a023022eba9dbcc0c2 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether or not the action has finished.  <a href="#a57c8c9e1f7c404a023022eba9dbcc0c2">More...</a><br/></td></tr>
<tr class="separator:a57c8c9e1f7c404a023022eba9dbcc0c2 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a8604eeeae72d211e1b20dd85ede11a inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a9a8604eeeae72d211e1b20dd85ede11a">get_return_code</a> () const </td></tr>
<tr class="memdesc:a9a8604eeeae72d211e1b20dd85ede11a inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the return code from the action.  <a href="#a9a8604eeeae72d211e1b20dd85ede11a">More...</a><br/></td></tr>
<tr class="separator:a9a8604eeeae72d211e1b20dd85ede11a inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad916dc92354e24c17969334d84a119d6 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#ad916dc92354e24c17969334d84a119d6">set_action_callback</a> (<a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;listener)</td></tr>
<tr class="memdesc:ad916dc92354e24c17969334d84a119d6 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a listener to be notified when an action completes.  <a href="#ad916dc92354e24c17969334d84a119d6">More...</a><br/></td></tr>
<tr class="separator:ad916dc92354e24c17969334d84a119d6 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5faa55b04ee75f18df7b019bf443b1a0 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a5faa55b04ee75f18df7b019bf443b1a0">set_user_context</a> (void *userContext)</td></tr>
<tr class="memdesc:a5faa55b04ee75f18df7b019bf443b1a0 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Store some context associated with an action.  <a href="#a5faa55b04ee75f18df7b019bf443b1a0">More...</a><br/></td></tr>
<tr class="separator:a5faa55b04ee75f18df7b019bf443b1a0 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0df41558fac781b754bebf924c332830 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0df41558fac781b754bebf924c332830"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a0df41558fac781b754bebf924c332830">wait</a> ()</td></tr>
<tr class="memdesc:a0df41558fac781b754bebf924c332830 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Blocks the current thread until the action this token is associated with has completed. <br/></td></tr>
<tr class="separator:a0df41558fac781b754bebf924c332830 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba82e469a4fe1a08d6f0daf40d087358 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#aba82e469a4fe1a08d6f0daf40d087358">try_wait</a> ()</td></tr>
<tr class="memdesc:aba82e469a4fe1a08d6f0daf40d087358 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Non-blocking check to see if the action has completed.  <a href="#aba82e469a4fe1a08d6f0daf40d087358">More...</a><br/></td></tr>
<tr class="separator:aba82e469a4fe1a08d6f0daf40d087358 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a542cf05d67441392a5642eeb95b93df2 inherit pub_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a542cf05d67441392a5642eeb95b93df2">wait_for</a> (long timeout)</td></tr>
<tr class="memdesc:a542cf05d67441392a5642eeb95b93df2 inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Blocks the current thread until the action this token is associated with has completed.  <a href="#a542cf05d67441392a5642eeb95b93df2">More...</a><br/></td></tr>
<tr class="separator:a542cf05d67441392a5642eeb95b93df2 inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc834b6a55d17e401066f91a8030213f inherit pub_methods_classmqtt_1_1token"><td class="memTemplParams" colspan="2">template&lt;class Rep , class Period &gt; </td></tr>
<tr class="memitem:afc834b6a55d17e401066f91a8030213f inherit pub_methods_classmqtt_1_1token"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#afc834b6a55d17e401066f91a8030213f">wait_for</a> (const std::chrono::duration&lt; Rep, Period &gt; &amp;relTime)</td></tr>
<tr class="memdesc:afc834b6a55d17e401066f91a8030213f inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waits a relative amount of time for the action to complete.  <a href="#afc834b6a55d17e401066f91a8030213f">More...</a><br/></td></tr>
<tr class="separator:afc834b6a55d17e401066f91a8030213f inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b1258df66e5b2aa628affd4ced47bea inherit pub_methods_classmqtt_1_1token"><td class="memTemplParams" colspan="2">template&lt;class Clock , class Duration &gt; </td></tr>
<tr class="memitem:a8b1258df66e5b2aa628affd4ced47bea inherit pub_methods_classmqtt_1_1token"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a8b1258df66e5b2aa628affd4ced47bea">wait_until</a> (const std::chrono::time_point&lt; Clock, Duration &gt; &amp;absTime)</td></tr>
<tr class="memdesc:a8b1258df66e5b2aa628affd4ced47bea inherit pub_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waits until an absolute time for the action to complete.  <a href="#a8b1258df66e5b2aa628affd4ced47bea">More...</a><br/></td></tr>
<tr class="separator:a8b1258df66e5b2aa628affd4ced47bea inherit pub_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7f86fa1fb9bc552e0ad67fe3ee15c0d8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1delivery__token.html#aa70c38dfa04a7f03443971077425dc57">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#a7f86fa1fb9bc552e0ad67fe3ee15c0d8">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli)</td></tr>
<tr class="memdesc:a7f86fa1fb9bc552e0ad67fe3ee15c0d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty delivery token connected to a particular client.  <a href="#a7f86fa1fb9bc552e0ad67fe3ee15c0d8">More...</a><br/></td></tr>
<tr class="separator:a7f86fa1fb9bc552e0ad67fe3ee15c0d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f3b18b903e4c93403f5cc036a9d5143"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1delivery__token.html#aa70c38dfa04a7f03443971077425dc57">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#a2f3b18b903e4c93403f5cc036a9d5143">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_message_ptr msg)</td></tr>
<tr class="memdesc:a2f3b18b903e4c93403f5cc036a9d5143"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a delivery token connected to a particular client.  <a href="#a2f3b18b903e4c93403f5cc036a9d5143">More...</a><br/></td></tr>
<tr class="separator:a2f3b18b903e4c93403f5cc036a9d5143"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5edc8a7ce723de8926c58f832e970e4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1delivery__token.html#aa70c38dfa04a7f03443971077425dc57">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#aa5edc8a7ce723de8926c58f832e970e4">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_message_ptr msg, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:aa5edc8a7ce723de8926c58f832e970e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a delivery token connected to a particular client.  <a href="#aa5edc8a7ce723de8926c58f832e970e4">More...</a><br/></td></tr>
<tr class="separator:aa5edc8a7ce723de8926c58f832e970e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classmqtt_1_1token"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classmqtt_1_1token')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classmqtt_1_1token.html">mqtt::token</a></td></tr>
<tr class="memitem:a1fcb5574beac4792a6f55b09b1f8879a inherit pub_static_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1token.html#a352686b3df96dede1b5e296de12bc427">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a1fcb5574beac4792a6f55b09b1f8879a">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli)</td></tr>
<tr class="memdesc:a1fcb5574beac4792a6f55b09b1f8879a inherit pub_static_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a1fcb5574beac4792a6f55b09b1f8879a">More...</a><br/></td></tr>
<tr class="separator:a1fcb5574beac4792a6f55b09b1f8879a inherit pub_static_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56cb81a58dceb3f00790b0a59b9488dc inherit pub_static_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1token.html#a352686b3df96dede1b5e296de12bc427">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a56cb81a58dceb3f00790b0a59b9488dc">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:a56cb81a58dceb3f00790b0a59b9488dc inherit pub_static_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a56cb81a58dceb3f00790b0a59b9488dc">More...</a><br/></td></tr>
<tr class="separator:a56cb81a58dceb3f00790b0a59b9488dc inherit pub_static_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d9277478b2b27824633ea0e1f6fdf05 inherit pub_static_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1token.html#a352686b3df96dede1b5e296de12bc427">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a5d9277478b2b27824633ea0e1f6fdf05">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const string &amp;<a class="el" href="classmqtt_1_1topic.html">topic</a>)</td></tr>
<tr class="memdesc:a5d9277478b2b27824633ea0e1f6fdf05 inherit pub_static_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a5d9277478b2b27824633ea0e1f6fdf05">More...</a><br/></td></tr>
<tr class="separator:a5d9277478b2b27824633ea0e1f6fdf05 inherit pub_static_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1de9decccf7e64439e4de8171579013a inherit pub_static_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1token.html#a352686b3df96dede1b5e296de12bc427">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a1de9decccf7e64439e4de8171579013a">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const string &amp;<a class="el" href="classmqtt_1_1topic.html">topic</a>, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:a1de9decccf7e64439e4de8171579013a inherit pub_static_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a1de9decccf7e64439e4de8171579013a">More...</a><br/></td></tr>
<tr class="separator:a1de9decccf7e64439e4de8171579013a inherit pub_static_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af13c2c1fb5da76e4ad1cd4169640592b inherit pub_static_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1token.html#a352686b3df96dede1b5e296de12bc427">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#af13c2c1fb5da76e4ad1cd4169640592b">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_string_collection_ptr topics)</td></tr>
<tr class="memdesc:af13c2c1fb5da76e4ad1cd4169640592b inherit pub_static_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#af13c2c1fb5da76e4ad1cd4169640592b">More...</a><br/></td></tr>
<tr class="separator:af13c2c1fb5da76e4ad1cd4169640592b inherit pub_static_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e200399740bd130720d482e2d98f188 inherit pub_static_methods_classmqtt_1_1token"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmqtt_1_1token.html#a352686b3df96dede1b5e296de12bc427">ptr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1token.html#a2e200399740bd130720d482e2d98f188">create</a> (<a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;cli, const_string_collection_ptr topics, void *userContext, <a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;cb)</td></tr>
<tr class="memdesc:a2e200399740bd130720d482e2d98f188 inherit pub_static_methods_classmqtt_1_1token"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a token object.  <a href="#a2e200399740bd130720d482e2d98f188">More...</a><br/></td></tr>
<tr class="separator:a2e200399740bd130720d482e2d98f188 inherit pub_static_methods_classmqtt_1_1token"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ac39954340d8b15edaa883af1bcfcf7ae"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmqtt_1_1delivery__token.html#ac39954340d8b15edaa883af1bcfcf7ae">async_client</a></td></tr>
<tr class="memdesc:ac39954340d8b15edaa883af1bcfcf7ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Client has special access.  <a href="#ac39954340d8b15edaa883af1bcfcf7ae">More...</a><br/></td></tr>
<tr class="separator:ac39954340d8b15edaa883af1bcfcf7ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Provides a mechanism to track the delivery progress of a message. </p>
<p>Used to track the the delivery progress of a message when a publish is executed in a non-blocking manner (run in the background) action. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a21e968998bb4adb1c4c609d353b3d47f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mqtt::delivery_token::delivery_token </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;&#160;</td>
          <td class="paramname"><em>cli</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an empty delivery token connected to a particular client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cli</td><td>The asynchronous client object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aafb2b01f848d51933800bb93705b6d1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mqtt::delivery_token::delivery_token </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;&#160;</td>
          <td class="paramname"><em>cli</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const_message_ptr&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a delivery token connected to a particular client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cli</td><td>The asynchronous client object. </td></tr>
    <tr><td class="paramname">msg</td><td>The message being tracked. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3cb9a5ab831373eba1b8bdaee4ab7737"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">mqtt::delivery_token::delivery_token </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;&#160;</td>
          <td class="paramname"><em>cli</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const_message_ptr&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>userContext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;&#160;</td>
          <td class="paramname"><em>cb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a delivery token connected to a particular client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cli</td><td>The asynchronous client object. </td></tr>
    <tr><td class="paramname">msg</td><td>The message data. </td></tr>
    <tr><td class="paramname">userContext</td><td>optional object used to pass context to the callback. Use <em>nullptr</em> if not required. </td></tr>
    <tr><td class="paramname">cb</td><td>callback optional listener that will be notified when message delivery has completed to the requested quality of service </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a7f86fa1fb9bc552e0ad67fe3ee15c0d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classmqtt_1_1delivery__token.html#aa70c38dfa04a7f03443971077425dc57">ptr_t</a> mqtt::delivery_token::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;&#160;</td>
          <td class="paramname"><em>cli</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an empty delivery token connected to a particular client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cli</td><td>The asynchronous client object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2f3b18b903e4c93403f5cc036a9d5143"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classmqtt_1_1delivery__token.html#aa70c38dfa04a7f03443971077425dc57">ptr_t</a> mqtt::delivery_token::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;&#160;</td>
          <td class="paramname"><em>cli</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const_message_ptr&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a delivery token connected to a particular client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cli</td><td>The asynchronous client object. </td></tr>
    <tr><td class="paramname">msg</td><td>The message data. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa5edc8a7ce723de8926c58f832e970e4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classmqtt_1_1delivery__token.html#aa70c38dfa04a7f03443971077425dc57">ptr_t</a> mqtt::delivery_token::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iasync__client.html">iasync_client</a> &amp;&#160;</td>
          <td class="paramname"><em>cli</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const_message_ptr&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>userContext</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classmqtt_1_1iaction__listener.html">iaction_listener</a> &amp;&#160;</td>
          <td class="paramname"><em>cb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a delivery token connected to a particular client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cli</td><td>The asynchronous client object. </td></tr>
    <tr><td class="paramname">msg</td><td>The message data. </td></tr>
    <tr><td class="paramname">userContext</td><td>optional object used to pass context to the callback. Use <em>nullptr</em> if not required. </td></tr>
    <tr><td class="paramname">cb</td><td>callback optional listener that will be notified when message delivery has completed to the requested quality of service </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a14e8ce913a6a8cc3b382bcc06a460702"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const_message_ptr mqtt::delivery_token::get_message </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the message associated with this token. </p>
<dl class="section return"><dt>Returns</dt><dd>The message associated with this token. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="ac39954340d8b15edaa883af1bcfcf7ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classmqtt_1_1async__client.html">async_client</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Client has special access. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/mqtt/<a class="el" href="delivery__token_8h_source.html">delivery_token.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>mqtt</b></li><li class="navelem"><a class="el" href="classmqtt_1_1delivery__token.html">delivery_token</a></li>
    <li class="footer">Generated on Sun Jul 23 2017 10:24:29 for Paho C++ by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
